package com.xmg.p2p.base.service;


import com.xmg.p2p.base.domain.Logininfo;

import java.util.List;
import java.util.Map;

public interface ILogininfoService {
    void register(String username,String password);

    boolean checkUsername(String username);

    Logininfo login(String username, String password,String ip,int userType);

    void initAdmin();

    List<Map<String,Object>> autoComplete(String keyword);
}
